package fosu.generated;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("fosu.generated.mapper")
public class BackendApplication {

	public static void main(String[] args) {

		SpringApplication.run(BackendApplication.class, args);
		System.out.println("""
                
                ==========================================
                  AI文本智能改进系统启动成功！
                  
                  访问地址: http://localhost:8080
                  Druid监控: http://localhost:8080/api/druid
                  API文档: http://localhost:8080/api/doc.html
                  
                  系统版本: 1.0.0
                  Java版本: %s
                  Spring Boot版本: 3.4.11
                ==========================================
                
                """.formatted(System.getProperty("java.version")));
	}

}
